package com.theexceptions.todo.model;

/**
 * A filter to organize tasks by a particular column. A class implementing
 * TaskFilter should take in a parameter in its constructor and produce an
 * appropriate SQL query.
 * 
 * @author Justian Meyer
 */
public interface TaskFilter {

	/**
	 * Retrieves an appropriate SQL query to filter the information (e.g.
	 * "userID=1").
	 * 
	 * @return query
	 */
	public String getQuery();

}
